Ok, lets start with seeing a simple example of how deadlocks can be created in java. Simple way to achieve this is to try to acquire locks in different order and you will see it happen. Thread1 – Resource 1, Resource 2 Thread2 – Resource 2, Resource 1 1 2 3 4 5 6 7 … Continue reading Deadlocks in java
Copy and paste this URL into your WordPress site to embed
Copy and paste this code into your site to embed